package bdqn.sl.bolg_sl.util;


import com.sun.istack.internal.logging.Logger;

/**
 * 2020/4/24 16:30
 * 参数验证
 * 佘莉
 */
public class StringUtil {
    //非空验证
    public static boolean isNull(Object ... objects){
        for (Object object : objects) {
            if (object == null) {
                return true;
            }
            if (object instanceof String) {
                if (object == null || "".equals(object)) {
                    return true;
                }
            }
        }
        return false;
    }


}
